-
Notifications
You must be signed in to change notification settings - Fork 19.2k
feat(qdrant): Async Client Added for QdrantVectorStore
#32196
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
feat(qdrant): Async Client Added for QdrantVectorStore
#32196
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Skipped Deployment
|
CodSpeed WallTime Performance ReportMerging #32196 will not alter performanceComparing
|
CodSpeed Instrumentation Performance ReportMerging #32196 will not alter performanceComparing Summary
|
): | ||
# If we're in an existing event loop, use it directly | ||
loop = asyncio.get_event_loop() | ||
loop.run_until_complete(_validate()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tried this patch from FastAPI and it explodes here in line 232:
File "uvloop/loop.pyx", line 1512, in uvloop.loop.Loop.run_until_complete
File "uvloop/loop.pyx", line 1505, in uvloop.loop.Loop.run_until_complete
File "uvloop/loop.pyx", line 1379, in uvloop.loop.Loop.run_forever
File "uvloop/loop.pyx", line 520, in uvloop.loop.Loop._run
RuntimeError: this event loop is already running.
But this worked:
asyncio.ensure_future(_validate()) # and NOT loop.run_until_complete(_validate())
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Resolved
QdrantVectorStore
QdrantVectorStore
@ sglebs please check now |
1 similar comment
@ccurme can you please review it. |
@mdrxy can you please review this? |
@keenborder786 Stop repeatedly tagging maintainers in your PRs. |
Hahah, will keep it limited now. |
@mdrxy just reminding to review. Sorry to tag you again. |
@sglebs, weere you able to review it? |
@keenborder786 why was this be closed? |
Uh oh!
There was an error while loading. Please reload this page.